package game;

public class ClassCollection {
	private Object[] stuff;
	
	public ClassCollection(Object[] s){
		stuff = s;
	}
	
	public <E> E get(int index, Class<E> c){
		return (E)stuff[index];
	}
	
	public <E> void set(int index, E element){
		stuff[index] = element;
	}
}
